package com.hzw.code.fast.sys.entity;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.hzw.code.common.constant.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 角色表(SysRole)数据访问类
 *
 * @author 胡汉三
 * @data 2020-05-20 14:24:43
 */
@Getter
@Setter
@ToString(callSuper = true)
@EqualsAndHashCode
@TableName("sys_role")
public class SysRoleEntity extends BaseEntity{
    
    /**
     * 序列号
     */
    private static final long serialVersionUID = 801063081357749595L;

    /**
     * 角色编号
     */
    @TableId
    @ApiModelProperty(name = "roleId", value = "角色编号") 
    private String roleId;
                                                                                    
    /**
     * 角色名称
     */
    @ApiModelProperty(name = "roleName", value = "角色名称")     
    private String roleName;
                                                                                    
    /**
     * 角色编码
     */
    @ApiModelProperty(name = "roleCode", value = "角色编码")     
    private String roleCode;
                                                                                    
    /**
     * 上级角色编号
     */
    @ApiModelProperty(name = "parentRoleId", value = "上级角色编号")     
    private String parentRoleId;
                                                                                                                                                                                                                                                                                                                                                            
}